import { defHttp } from '/@/utils/http/axios';

enum Api {
  groups = '/uav/map/element/groups',
  get = '/uav/map/element/get',
  del = '/uav/map/element/del',
  save = '/uav/map/element/save'
}

export const markerApi = {
  groups: (params) => defHttp.get({ url: Api.groups, params }),
  get: (params) => defHttp.get({ url: Api.get, params }),
  del: (params) => defHttp.get({ url: Api.del, params }),
  save: (params) => defHttp.post({url: Api.save, params})
};

